import mongoose from 'mongoose'
const Schema = mongoose.Schema

const PoiSchema = new Schema({
  name: {
    type: String // 景点名称
  },
  province: {
    type: String
  },
  city: {
    type: String
  },
  country: {
    type: String
  },
  areaCode: {
    type: String
  },
  tel: String,
  area: String,
  addr: String,
  type: String,
  module: String,
  longitude: Number,
  latitude: Number
})

export default mongoose.model('poi', PoiSchema)
